(temp-buffer-max-height): Doc fix.
authorRichard M. Stallman <rms@gnu.org>
Tue, 30 May 2006 02:35:51 +0000 (02:35 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 30 May 2006 02:35:51 +0000 (02:35 +0000)
lisp/help.el

index 1661779ca74795d4340644c3a09cf9ce042c9522..5efd58dfaf571003898bf26a15f3a8a3500a605d 100644 (file)
@@ -942,11 +942,11 @@ is currently activated with completion."
 
 (defcustom temp-buffer-max-height (lambda (buffer) (/ (- (frame-height) 2) 2))
   "Maximum height of a window displaying a temporary buffer.
-This is the maximum height (in text lines) which `resize-temp-buffer-window'
+This is effective only when Temp Buffer Resize mode is enabled.
+The value is the maximum height (in lines) which `resize-temp-buffer-window'
 will give to a window displaying a temporary buffer.
-It can also be a function which will be called with the object corresponding
-to the buffer to be displayed as argument and should return an integer
-positive number."
+It can also be a function to be called to choose the height for such a buffer.
+It gets one argumemt, the buffer, and should return a positive integer."
   :type '(choice integer function)
   :group 'help
   :version "20.4")